package com.ulook.lookplanet.base;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

/**
 * 描述：
 *
 * @author L1998
 * @data 2021/4/21
 */
public class BaseViewModel2 extends ViewModel {

    private MutableLiveData<String> toastText = new MutableLiveData<>();

    public LiveData<String> getToastText() {
        return toastText;
    }

    public void setToastText(String newToastText){
        toastText.setValue(newToastText);
    }
}
